<template>
  <router-view></router-view>
</template>

<script setup>
import { reactive } from "vue"
import SocketService from "@/hooks/websocket"
const data = reactive({
  socketServe: SocketService.Instance,
})
SocketService.Instance.connect()

data.socketServe = SocketService.Instance
data.socketServe.registerCallBack("callback1", data.socketServe)
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
  font-size: 10px;
}
</style>
